<tagLib name="html" />
<include file="Public:header"/>
<div class="content-box">
    <!-- Start Content Box -->
    <div class="content-box-header">
        <h3>{$base_title}</h3>
    </div>
    <!-- End .content-box-header -->
    <div class="content-box-content">
        <div class="tab-content default-tab" id="tab1">
            <table width="100%"><tr>
              <volist name="picList" id="vo" mod="3">
              <php>if(in_array($vo["file_type"],array('jpg','gif','png','JPG'))){</php>
               <td width="33%" height="150">
                 <div class="pic">
                   <img src="__ROOT__/Upload/attached/{$vo.file_name}" width="120">
                   <br>图片类型: {$vo.file_type} <font color='green'>[{$vo.file_size}KB]</font>
                   <br>图片地址：{$vo.file_name}<br>
                                               操作： <a href="{:U('Admin-Attach/delAttach',array('url'=>$vo['file_name']))}"><img src="../Public/Admin/Images/icons/cross.png">删除</a>                         
                 </div>
               </td>
              <php>}else{</php>
               <td width="33%" height="150">
                 <div class="pic">
                   <img src="../Public/Admin/Images/notImage.gif" width="120">
                   <br>附件类型: {$vo.file_type} <font color='green'>[{$vo.file_size}KB]</font>
                   <br>附件地址：{$vo.file_name}<br>
                                               操作： <a href="{:U('Admin-Attach/delAttach',array('url'=>$vo['file_name']))}"><img src="../Public/Admin/Images/icons/cross.png">删除</a>                         
                 </div>
               </td>
              <php>}</php>   
               <eq name="mod" value="0"></tr><tr></eq>
             </volist>
             </tr></table>
            <div class="pagination"> {$page} </div>
            <div class="clear"></div>
        </div>
    </div>
</div>
<include file="Public:footer"/>
